package cn.wolfcode.service;

import cn.wolfcode.domain.SeckillProduct;
import cn.wolfcode.domain.SeckillProductVo;

import java.util.List;


public interface ISeckillProductService {
    List<SeckillProductVo>  selectTodayByTime(Integer time);

    List<SeckillProductVo> queryByTime(Integer time);

    SeckillProductVo queryByTimeAndSeckillId(Integer time,Long seckillId);


    int decrStockCount(Long id);

    void incryStockCount(Integer time, Long seckillId);


}
